STEP 5: Let's adjust the height, then turn the rectangle into place.

  • Change the rectangle's height parameter from 50 to 100.
  • Go to and drag out Turn Left.
  • Change the integer in the .turn_left() command to 45.
  • Click Run to see your changes and Submit and Next when you are done.

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background_color("lightblue") # sprite = codesters.Rectangle(x, y, width, height, "color") sprite = codesters.Rectangle(0, 0, 700, 50, "gold")
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)